/**
 * Created with Intellij IDEA
 * Description
 * User:ASUS
 * Date:2024-08-04
 * Time:16:27
 */
class Animal implements Cloneable{
    private String name;
    public Animal clone(){
        Animal o=null;
        try{
            o=(Animal)super.clone();
        }catch(CloneNotSupportedException e){
            e.printStackTrace();
        }
        return o;
    }
}
public class Test {
    public static void main(String[] args) {
        Animal animal=new Animal();
        Animal animal2=animal.clone();
        System.out.println(animal==animal2);
    }
}
